<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%- author %>评论列表</title>
    <%- include common %>
</head>
<body>
    <%- include('head', {title: 'mlist', username: username}) %>

    <div class="container-fluid">
        <div class="container">
            <div class="row">
                <div class="col-md-6  col-sm-12">
                    <h4 class="text-primary text-center">用户<strong><%- author %></strong>的所有电影评论</h4>

                    <div class="well">
                        <% result.forEach((item, index) => { %>
                            <div>
                                <p class="text-primary pull-right">电影名称：<%- item.movie.title %></p>
                                <p class="text-danger"><%- item.time %></p>
                                <p>
                                    <%- item.title %>
                                </p>
                                <p class="text-info">
                                    <%- item.content %>
                                </p>
                                <hr>
                            </div>
                        <% }) %>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <%- include foot %>
</body>
</html>